#include "descr/descr_model_strat_parser.h"


using namespace std;


bool DescrModelStratParser::parse(std::string line)
{
	string token = popNextToken(line);

	if (token.compare("type") == 0)
	{
		parsingModelStrat.reset(new ModelStrat());
		parsingModelStrat->id = popNextToken(line);
		
		ModelStrat::add(parsingModelStrat);
	}
	else if (token.compare("model_flexi_m") == 0)
	{
		string fileName = popNextToken(line);
		shared_ptr<Cas> cas = Cas::get(basePath + fileName, Cas::Type::RTW);
	}
	return true;
}
